/*
 * @Author: 贺楠 1071780426@qq.com
 * @Date: 2024-09-10 14:16:58
 * @LastEditors: 陈妮娜 969682281@qq.com
 * @LastEditTime: 2025-01-10 19:41:31
 * @FilePath: \monitoring_system\src\api\machineNetworkManage\request.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import {
    reqNull,
} from '../index';
let url = 'http://1.14.103.201:8300/IOTManagement/' //高信
// let url = 'http://192.168.0.02:8080/IOTManagement/' //孙猛本地
// let url = 'http://192.168.0.8:8300/IOTManagement/' //李康本地
// let url = 'http://192.168.0.20:8300/IOTManagement/' //嫣然/本地
// let url = 'http://192.168.0.44:8080/IOTManagement/' //韩磊/本地
// let url = 'http://110.185.107.22:8388/newiotmachine/' //高信
var fileUrl="http://iot.limsapp.cn/scyj/api/scyjiot/syjdeletelog/files"
// 试验机联网监管
// 待试验样品 
// 列表    // 样品登记台账-列表
export const getSampleNeedWorkList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getSampleNeedWorkList", res)
}
export const getSampleNeedWorkJLList = (res) => {
    return reqNull("post", url + "Web/Sample/getSampleNeedWorkJLList", res)
}
// 详情
export const SamplegetSampleWorkByFid = (res) => {
    return reqNull("post", url + "Web/Sample/getSampleWorkByFid", res)
}
export const getSampleTestWorkJLList = (res) => {
    return reqNull("post", url + "Web/Sample/getSampleTestWorkJLList", res)
}
// 待试验样品
// 抗折抗压机监控
// 压力机数据监控列表
export const getTestHntFlexuralList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestHntFlexuralList", res)
}
// 压力机数据监控详情
export const getTestHntFlexuralByFid = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestHntFlexuralByFid", res)
}
//  压力机数据处理闭合
export const addHntFlexuralClosedForm = (res) => {
    return reqNull("post", url + "Web/CheckTest/addClosedForm", res)
}
// 万能机数据监控列表
export const getTestRebarjointtestList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestRebarjointtestList", res)
}
// 万能机数据监控详情
export const getTestRebarjointtestByFid = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestRebarjointtestByFid", res)
}
// 抗折抗压机监控列表
export const getTestMortarFlexuraltestList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestMortarFlexuraltestList", res)
}
// 抗折抗压机监控详情
export const getTestMortarFlexuraltestByFid = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestMortarFlexuraltestByFid", res)
}
// 混凝土质量比动图
export const getTestHntQualityTrendsList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestHntQualityTrendsList", res)
}
// 钢筋质量比动图
export const getTestRebarjoinTrendsList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestRebarjoinTrendsList", res)
}
// 水泥质量比动图
export const getTestCementTrendsList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestCementTrendsList", res)
}
// 砂浆质量比动图
export const getTestMortarTrendsList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestMortarTrendsList", res)
}
// 净浆质量比动图
export const getTestPasteTrendsList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestPasteTrendsList", res)
}
// 数据处理记录
export const getTestdellogList = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestdellogList", res)
}
export const getTestdellog = (res) => {
    return reqNull("post", url + "Web/CheckTest/getTestdellog", res)
}
export const fileUrllogId = (res) => {
    return reqNull("post", fileUrl, res)
}
// 
// 试验机联网监管

